package com.sailing.lianxi.design.single;

import sun.security.jca.GetInstance;

/**
 * 登记式/静态内部类
 * 是否 Lazy 初始化：是
 * 是否多线程安全：是
 * @author Administrator
 *
 */
public class Singleton5 {
		private static class SingletonHolder{
			private static Singleton5 OBJ = new Singleton5();
		}
		private Singleton5(){}
		public static  final Singleton5 getInstance(){
			return SingletonHolder.OBJ;
		}
}
